package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.jumi.microservice.enums.CheckStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户实名认证申请日志
 * </p>
 *
 * @author 要挑客户管理团队
 * @since 2020-07-14
 */
@ApiModel(value = "JmRealnameAuthenticationLog对象", description = "用户实名认证申请日志")
public class JmRealnameAuthenticationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "会员编号")
    private Integer uid;

    @ApiModelProperty(value = "会员名称")
    private String name;

    @ApiModelProperty(value = "真实姓名")
    private String truename;

    @ApiModelProperty(value = "身份号码")
    private String idcard;

    @ApiModelProperty(value = "身份证正面")
    private String cardJust;

    @ApiModelProperty(value = "身份证反面")
    private String cardBack;

    @ApiModelProperty(value = "审核日期")
    private Integer examineTime;

    @ApiModelProperty(value = "审核状态 0待审核,1审核通过,2拒绝")
    private CheckStatus status;

    @ApiModelProperty(value = "审核结果")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


    private Integer adminId;

    private String adminName;

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getCardJust() {
        return cardJust;
    }

    public void setCardJust(String cardJust) {
        this.cardJust = cardJust;
    }

    public String getCardBack() {
        return cardBack;
    }

    public void setCardBack(String cardBack) {
        this.cardBack = cardBack;
    }

    public Integer getExamineTime() {
        return examineTime;
    }

    public void setExamineTime(Integer examineTime) {
        this.examineTime = examineTime;
    }

    public CheckStatus getStatus() {
        return status;
    }

    public void setStatus(CheckStatus status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "JmRealnameAuthenticationLog{" +
                "id=" + id +
                ", uid=" + uid +
                ", name=" + name +
                ", truename=" + truename +
                ", idcard=" + idcard +
                ", cardJust=" + cardJust +
                ", cardBack=" + cardBack +
                ", examineTime=" + examineTime +
                ", status=" + status +
                ", remark=" + remark +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                "}";
    }
}
